﻿using System.ComponentModel.DataAnnotations.Schema;
using XCore.Domain.Entities;

namespace SaaS.Model.Entity.Users
{
    /// <summary>
    /// 会员租户表
    /// </summary>
    [Table("User_Tenants")]
    public class UserTenant : IEntity<int>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Column("UserId")]
        public int Id { get; set; }
        /// <summary>
        /// 租户ID
        /// </summary>
        public int TenantId { get; set; }
    }
}
